package com.vcc.data.entity;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Table;
import com.vcc.data.base.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

@EqualsAndHashCode(callSuper = true)
@Data
@Getter
@Setter
@Table(value = "vcc_comptroller")
public class Comptroller extends BaseEntity implements Serializable {


    @Column(comment = "用户ID", value = "user_id")
    private Long userId;

    /**
     * 1 登录  2  禁用  3 启用   4 注销  5  修改密码  6 修改支付密码
     */
    @Column(comment = "操作类型", value = "use_flag")
    private Integer useFlag;

    /**
     * 0 成功 1  失败  2  等待中
     */
    @Column(comment = "状态", value = "status")
    private Integer status;

    @Column(comment = "请求IP", value = "request_ip")
    private String requestIp;

    @Column(comment = "操作用户ID", value = "operation_user_id")
    private Long operationUserId;

    @Column(comment = "请求时间", value = "request_date")
    private Date requestDate;

}
